EXPORT.RUN Function

Syntax

Code_Text as C = export.run(C layoutname [,C filter [,C order [,L silent [,L show_Xbasic [,* arguments ]]]]])

Arguments

Code_Text

The Xbasic code that was run performing the operation.

layoutname

The name of a previously created export operation.

filter

Optional. Default = "". A character filter expression that evaluates to a logical value and selects records to export.

order

Optional. Default = record order. A character order expression that sorts selected records.

silent

Optional. Default = .F. .T. = No user interaction. .F. = User interaction.

show_Xbasic

Optional. Default = .F.

arguments

*

Description

Runs an Export operation

Discussion

The EXPORT.RUN() method exports data using a previously defined export operation. Note : If you specify an optional filter argument, the filter is applied in addition to any filter that may have been defined as Part of the Operation. (You can check to see if a filter is defined as Part of an Operation by editing the saved operation, and selecting the "Select records" menu item.) If the Silent flag is set to .T., then Alpha Five does not display any confirmation dialog boxes before running the operation.

Example

The following example runs the saved Customer Export operation.

export.run("Customer Export", "Lastname >  'M'", "Firstname", .t., .f.)

Limitations

Desktop applications only.

See Also